import { request } from '../request';

export function saveReservation(reservation: any) {
  return request<any>({
    url: '/reservation/saveReservation',
    method: 'post',
    data: reservation
  });
}

export function deleteReservation(reservation: any) {
  return request<any>({
    url: '/reservation/deleteReservation',
    method: 'delete',
    data: reservation
  });
}

export function getReservationList() {
  return request<any>({
    url: '/reservation/getReservationList',
    method: 'get'
  });
}
